<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Add new major</title>
</head>
<body>
<form action="actionSpace_addMajor" method="post">
        <table align="center" border="1" cellspacing="0">
         	<tr>
                <td>
 				学院代码：
 					<select name="majorentity.departmentNo">
 					<s:iterator value="depatmentEntities" var="dps">
										<option value="${dps.departmentNo}">${dps.departmentName}</option>
					</s:iterator>
					</select><br>
                </td>
            </tr>
            <tr>
                <td>
 				课程代码：
                </td>
                <td>
                    <input type="text" name="majorentity.majorNo" value="">
                </td>
            </tr>
            <tr>
                <td>
                    名称:
                </td>
                <td>
                    <input type="text" name="majorentity.majorName" value="">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <input type="submit" value="submit">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>